{"ast":null,"code":"import _slicedToArray from \"/Users/poppie/Desktop/development/messenger/app/frontend/node_modules/@babel/runtime/helpers/esm/slicedToArray.js\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nexport var traverseBreakpoints = function traverseBreakpoints(breakpoints, responsize, iterator) {\n  var smallestBreakpoint = breakpoints.keys[0]; // the keys is sorted from smallest to largest by `createBreakpoints`.\n\n  if (Array.isArray(responsize)) {\n    responsize.forEach(function (breakpointValue, index) {\n      iterator(function (responsizeStyles, style) {\n        if (index <= breakpoints.keys.length - 1) {\n          if (index === 0) {\n            Object.assign(responsizeStyles, style);\n          } else {\n            responsizeStyles[breakpoints.up(breakpoints.keys[index])] = style;\n          }\n        }\n      }, breakpointValue);\n    });\n  } else if (responsize && typeof responsize === 'object') {\n    // prevent null\n    // responsize could be a very big object, pick the smallest responsive values\n    var keys = Object.keys(responsize).length > breakpoints.keys.length ? breakpoints.keys : Object.keys(responsize);\n    keys.forEach(function (key) {\n      if (breakpoints.keys.indexOf(key) !== -1) {\n        // @ts-ignore already checked that responsize is an object\n        var breakpointValue = responsize[key];\n        if (breakpointValue !== undefined) {\n          iterator(function (responsizeStyles, style) {\n            if (smallestBreakpoint === key) {\n              Object.assign(responsizeStyles, style);\n            } else {\n              responsizeStyles[breakpoints.up(key)] = style;\n            }\n          }, breakpointValue);\n        }\n      }\n    });\n  } else if (typeof responsize === 'number' || typeof responsize === 'string') {\n    iterator(function (responsizeStyles, style) {\n      Object.assign(responsizeStyles, style);\n    }, responsize);\n  }\n};\nexport var generateGridSizeStyles = function generateGridSizeStyles(_ref) {\n  var theme = _ref.theme,\n    ownerState = _ref.ownerState;\n  var styles = {};\n  traverseBreakpoints(theme.breakpoints, ownerState.gridSize, function (appendStyle, value) {\n    var style = {};\n    if (value === true) {\n      style = {\n        flexBasis: 0,\n        flexGrow: 1,\n        maxWidth: '100%'\n      };\n    }\n    if (value === 'auto') {\n      style = {\n        flexBasis: 'auto',\n        flexGrow: 0,\n        flexShrink: 0,\n        maxWidth: 'none',\n        width: 'auto'\n      };\n    }\n    if (typeof value === 'number') {\n      style = {\n        flexGrow: 0,\n        flexBasis: 'auto',\n        width: \"calc(100% * \".concat(value, \" / var(--Grid-columns)\").concat(ownerState.nested && ownerState.container ? \" + var(--Grid-columnSpacing)\" : '', \")\")\n      };\n    }\n    appendStyle(styles, style);\n  });\n  return styles;\n};\nexport var generateGridOffsetStyles = function generateGridOffsetStyles(_ref2) {\n  var theme = _ref2.theme,\n    ownerState = _ref2.ownerState;\n  var styles = {};\n  traverseBreakpoints(theme.breakpoints, ownerState.gridOffset, function (appendStyle, value) {\n    var style = {};\n    if (value === 'auto') {\n      style = {\n        marginLeft: 'auto'\n      };\n    }\n    if (typeof value === 'number') {\n      style = {\n        marginLeft: value === 0 ? '0px' : \"calc(100% * \".concat(value, \" / var(--Grid-columns))\")\n      };\n    }\n    appendStyle(styles, style);\n  });\n  return styles;\n};\nexport var generateGridColumnsStyles = function generateGridColumnsStyles(_ref3) {\n  var theme = _ref3.theme,\n    ownerState = _ref3.ownerState;\n  if (!ownerState.container) {\n    return {};\n  }\n  var styles = {\n    '--Grid-columns': 12\n  };\n  traverseBreakpoints(theme.breakpoints, ownerState.columns, function (appendStyle, value) {\n    appendStyle(styles, {\n      '--Grid-columns': value\n    });\n  });\n  return styles;\n};\nexport var generateGridRowSpacingStyles = function generateGridRowSpacingStyles(_ref4) {\n  var theme = _ref4.theme,\n    ownerState = _ref4.ownerState;\n  if (!ownerState.container) {\n    return {};\n  }\n  var styles = {};\n  traverseBreakpoints(theme.breakpoints, ownerState.rowSpacing, function (appendStyle, value) {\n    var _theme$spacing;\n    appendStyle(styles, {\n      '--Grid-rowSpacing': typeof value === 'string' ? value : (_theme$spacing = theme.spacing) == null ? void 0 : _theme$spacing.call(theme, value)\n    });\n  });\n  return styles;\n};\nexport var generateGridColumnSpacingStyles = function generateGridColumnSpacingStyles(_ref5) {\n  var theme = _ref5.theme,\n    ownerState = _ref5.ownerState;\n  if (!ownerState.container) {\n    return {};\n  }\n  var styles = {};\n  traverseBreakpoints(theme.breakpoints, ownerState.columnSpacing, function (appendStyle, value) {\n    var _theme$spacing2;\n    appendStyle(styles, {\n      '--Grid-columnSpacing': typeof value === 'string' ? value : (_theme$spacing2 = theme.spacing) == null ? void 0 : _theme$spacing2.call(theme, value)\n    });\n  });\n  return styles;\n};\nexport var generateGridDirectionStyles = function generateGridDirectionStyles(_ref6) {\n  var theme = _ref6.theme,\n    ownerState = _ref6.ownerState;\n  if (!ownerState.container) {\n    return {};\n  }\n  var styles = {};\n  traverseBreakpoints(theme.breakpoints, ownerState.direction, function (appendStyle, value) {\n    appendStyle(styles, {\n      flexDirection: value\n    });\n  });\n  return styles;\n};\nexport var generateGridStyles = function generateGridStyles(_ref7) {\n  var ownerState = _ref7.ownerState;\n  return _extends({\n    minWidth: 0,\n    boxSizing: 'border-box'\n  }, ownerState.container ? _extends({\n    display: 'flex',\n    flexWrap: 'wrap'\n  }, ownerState.wrap && ownerState.wrap !== 'wrap' && {\n    flexWrap: ownerState.wrap\n  }, {\n    margin: \"calc(var(--Grid-rowSpacing) / -2) calc(var(--Grid-columnSpacing) / -2)\"\n  }, ownerState.disableEqualOverflow && {\n    margin: \"calc(var(--Grid-rowSpacing) * -1) 0px 0px calc(var(--Grid-columnSpacing) * -1)\"\n  }, ownerState.nested ? _extends({\n    padding: \"calc(var(--Grid-nested-rowSpacing) / 2) calc(var(--Grid-nested-columnSpacing) / 2)\"\n  }, (ownerState.disableEqualOverflow || ownerState.parentDisableEqualOverflow) && {\n    padding: \"calc(var(--Grid-nested-rowSpacing)) 0px 0px calc(var(--Grid-nested-columnSpacing))\"\n  }) : {\n    '--Grid-nested-rowSpacing': 'var(--Grid-rowSpacing)',\n    '--Grid-nested-columnSpacing': 'var(--Grid-columnSpacing)'\n  }) : _extends({\n    padding: \"calc(var(--Grid-rowSpacing) / 2) calc(var(--Grid-columnSpacing) / 2)\"\n  }, ownerState.disableEqualOverflow && {\n    padding: \"calc(var(--Grid-rowSpacing)) 0px 0px calc(var(--Grid-columnSpacing))\"\n  }));\n};\nexport var generateSizeClassNames = function generateSizeClassNames(gridSize) {\n  var classNames = [];\n  Object.entries(gridSize).forEach(function (_ref8) {\n    var _ref9 = _slicedToArray(_ref8, 2),\n      key = _ref9[0],\n      value = _ref9[1];\n    if (value !== false && value !== undefined) {\n      classNames.push(\"grid-\".concat(key, \"-\").concat(String(value)));\n    }\n  });\n  return classNames;\n};\nexport var generateSpacingClassNames = function generateSpacingClassNames(spacing) {\n  var smallestBreakpoint = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'xs';\n  function isValidSpacing(val) {\n    if (val === undefined) {\n      return false;\n    }\n    return typeof val === 'string' && !Number.isNaN(Number(val)) || typeof val === 'number' && val > 0;\n  }\n  if (isValidSpacing(spacing)) {\n    return [\"spacing-\".concat(smallestBreakpoint, \"-\").concat(String(spacing))];\n  }\n  if (typeof spacing === 'object' && !Array.isArray(spacing)) {\n    var classNames = [];\n    Object.entries(spacing).forEach(function (_ref10) {\n      var _ref11 = _slicedToArray(_ref10, 2),\n        key = _ref11[0],\n        value = _ref11[1];\n      if (isValidSpacing(value)) {\n        classNames.push(\"spacing-\".concat(key, \"-\").concat(String(value)));\n      }\n    });\n    return classNames;\n  }\n  return [];\n};\nexport var generateDirectionClasses = function generateDirectionClasses(direction) {\n  if (direction === undefined) {\n    return [];\n  }\n  if (typeof direction === 'object') {\n    return Object.entries(direction).map(function (_ref12) {\n      var _ref13 = _slicedToArray(_ref12, 2),\n        key = _ref13[0],\n        value = _ref13[1];\n      return \"direction-\".concat(key, \"-\").concat(value);\n    });\n  }\n  return [\"direction-xs-\".concat(String(direction))];\n};","map":{"version":3,"names":["_extends","traverseBreakpoints","breakpoints","responsize","iterator","smallestBreakpoint","keys","Array","isArray","forEach","breakpointValue","index","responsizeStyles","style","length","Object","assign","up","key","indexOf","undefined","generateGridSizeStyles","theme","ownerState","styles","gridSize","appendStyle","value","flexBasis","flexGrow","maxWidth","flexShrink","width","nested","container","generateGridOffsetStyles","gridOffset","marginLeft","generateGridColumnsStyles","columns","generateGridRowSpacingStyles","rowSpacing","_theme$spacing","spacing","call","generateGridColumnSpacingStyles","columnSpacing","_theme$spacing2","generateGridDirectionStyles","direction","flexDirection","generateGridStyles","minWidth","boxSizing","display","flexWrap","wrap","margin","disableEqualOverflow","padding","parentDisableEqualOverflow","generateSizeClassNames","classNames","entries","push","String","generateSpacingClassNames","isValidSpacing","val","Number","isNaN","generateDirectionClasses","map"],"sources":["/Users/poppie/Desktop/development/messenger/app/frontend/node_modules/@mui/system/esm/Unstable_Grid/gridGenerator.js"],"sourcesContent":["import _extends from \"@babel/runtime/helpers/esm/extends\";\nexport const traverseBreakpoints = (breakpoints, responsize, iterator) => {\n  const smallestBreakpoint = breakpoints.keys[0]; // the keys is sorted from smallest to largest by `createBreakpoints`.\n\n  if (Array.isArray(responsize)) {\n    responsize.forEach((breakpointValue, index) => {\n      iterator((responsizeStyles, style) => {\n        if (index <= breakpoints.keys.length - 1) {\n          if (index === 0) {\n            Object.assign(responsizeStyles, style);\n          } else {\n            responsizeStyles[breakpoints.up(breakpoints.keys[index])] = style;\n          }\n        }\n      }, breakpointValue);\n    });\n  } else if (responsize && typeof responsize === 'object') {\n    // prevent null\n    // responsize could be a very big object, pick the smallest responsive values\n    const keys = Object.keys(responsize).length > breakpoints.keys.length ? breakpoints.keys : Object.keys(responsize);\n    keys.forEach(key => {\n      if (breakpoints.keys.indexOf(key) !== -1) {\n        // @ts-ignore already checked that responsize is an object\n        const breakpointValue = responsize[key];\n\n        if (breakpointValue !== undefined) {\n          iterator((responsizeStyles, style) => {\n            if (smallestBreakpoint === key) {\n              Object.assign(responsizeStyles, style);\n            } else {\n              responsizeStyles[breakpoints.up(key)] = style;\n            }\n          }, breakpointValue);\n        }\n      }\n    });\n  } else if (typeof responsize === 'number' || typeof responsize === 'string') {\n    iterator((responsizeStyles, style) => {\n      Object.assign(responsizeStyles, style);\n    }, responsize);\n  }\n};\nexport const generateGridSizeStyles = ({\n  theme,\n  ownerState\n}) => {\n  const styles = {};\n  traverseBreakpoints(theme.breakpoints, ownerState.gridSize, (appendStyle, value) => {\n    let style = {};\n\n    if (value === true) {\n      style = {\n        flexBasis: 0,\n        flexGrow: 1,\n        maxWidth: '100%'\n      };\n    }\n\n    if (value === 'auto') {\n      style = {\n        flexBasis: 'auto',\n        flexGrow: 0,\n        flexShrink: 0,\n        maxWidth: 'none',\n        width: 'auto'\n      };\n    }\n\n    if (typeof value === 'number') {\n      style = {\n        flexGrow: 0,\n        flexBasis: 'auto',\n        width: `calc(100% * ${value} / var(--Grid-columns)${ownerState.nested && ownerState.container ? ` + var(--Grid-columnSpacing)` : ''})`\n      };\n    }\n\n    appendStyle(styles, style);\n  });\n  return styles;\n};\nexport const generateGridOffsetStyles = ({\n  theme,\n  ownerState\n}) => {\n  const styles = {};\n  traverseBreakpoints(theme.breakpoints, ownerState.gridOffset, (appendStyle, value) => {\n    let style = {};\n\n    if (value === 'auto') {\n      style = {\n        marginLeft: 'auto'\n      };\n    }\n\n    if (typeof value === 'number') {\n      style = {\n        marginLeft: value === 0 ? '0px' : `calc(100% * ${value} / var(--Grid-columns))`\n      };\n    }\n\n    appendStyle(styles, style);\n  });\n  return styles;\n};\nexport const generateGridColumnsStyles = ({\n  theme,\n  ownerState\n}) => {\n  if (!ownerState.container) {\n    return {};\n  }\n\n  const styles = {\n    '--Grid-columns': 12\n  };\n  traverseBreakpoints(theme.breakpoints, ownerState.columns, (appendStyle, value) => {\n    appendStyle(styles, {\n      '--Grid-columns': value\n    });\n  });\n  return styles;\n};\nexport const generateGridRowSpacingStyles = ({\n  theme,\n  ownerState\n}) => {\n  if (!ownerState.container) {\n    return {};\n  }\n\n  const styles = {};\n  traverseBreakpoints(theme.breakpoints, ownerState.rowSpacing, (appendStyle, value) => {\n    var _theme$spacing;\n\n    appendStyle(styles, {\n      '--Grid-rowSpacing': typeof value === 'string' ? value : (_theme$spacing = theme.spacing) == null ? void 0 : _theme$spacing.call(theme, value)\n    });\n  });\n  return styles;\n};\nexport const generateGridColumnSpacingStyles = ({\n  theme,\n  ownerState\n}) => {\n  if (!ownerState.container) {\n    return {};\n  }\n\n  const styles = {};\n  traverseBreakpoints(theme.breakpoints, ownerState.columnSpacing, (appendStyle, value) => {\n    var _theme$spacing2;\n\n    appendStyle(styles, {\n      '--Grid-columnSpacing': typeof value === 'string' ? value : (_theme$spacing2 = theme.spacing) == null ? void 0 : _theme$spacing2.call(theme, value)\n    });\n  });\n  return styles;\n};\nexport const generateGridDirectionStyles = ({\n  theme,\n  ownerState\n}) => {\n  if (!ownerState.container) {\n    return {};\n  }\n\n  const styles = {};\n  traverseBreakpoints(theme.breakpoints, ownerState.direction, (appendStyle, value) => {\n    appendStyle(styles, {\n      flexDirection: value\n    });\n  });\n  return styles;\n};\nexport const generateGridStyles = ({\n  ownerState\n}) => {\n  return _extends({\n    minWidth: 0,\n    boxSizing: 'border-box'\n  }, ownerState.container ? _extends({\n    display: 'flex',\n    flexWrap: 'wrap'\n  }, ownerState.wrap && ownerState.wrap !== 'wrap' && {\n    flexWrap: ownerState.wrap\n  }, {\n    margin: `calc(var(--Grid-rowSpacing) / -2) calc(var(--Grid-columnSpacing) / -2)`\n  }, ownerState.disableEqualOverflow && {\n    margin: `calc(var(--Grid-rowSpacing) * -1) 0px 0px calc(var(--Grid-columnSpacing) * -1)`\n  }, ownerState.nested ? _extends({\n    padding: `calc(var(--Grid-nested-rowSpacing) / 2) calc(var(--Grid-nested-columnSpacing) / 2)`\n  }, (ownerState.disableEqualOverflow || ownerState.parentDisableEqualOverflow) && {\n    padding: `calc(var(--Grid-nested-rowSpacing)) 0px 0px calc(var(--Grid-nested-columnSpacing))`\n  }) : {\n    '--Grid-nested-rowSpacing': 'var(--Grid-rowSpacing)',\n    '--Grid-nested-columnSpacing': 'var(--Grid-columnSpacing)'\n  }) : _extends({\n    padding: `calc(var(--Grid-rowSpacing) / 2) calc(var(--Grid-columnSpacing) / 2)`\n  }, ownerState.disableEqualOverflow && {\n    padding: `calc(var(--Grid-rowSpacing)) 0px 0px calc(var(--Grid-columnSpacing))`\n  }));\n};\nexport const generateSizeClassNames = gridSize => {\n  const classNames = [];\n  Object.entries(gridSize).forEach(([key, value]) => {\n    if (value !== false && value !== undefined) {\n      classNames.push(`grid-${key}-${String(value)}`);\n    }\n  });\n  return classNames;\n};\nexport const generateSpacingClassNames = (spacing, smallestBreakpoint = 'xs') => {\n  function isValidSpacing(val) {\n    if (val === undefined) {\n      return false;\n    }\n\n    return typeof val === 'string' && !Number.isNaN(Number(val)) || typeof val === 'number' && val > 0;\n  }\n\n  if (isValidSpacing(spacing)) {\n    return [`spacing-${smallestBreakpoint}-${String(spacing)}`];\n  }\n\n  if (typeof spacing === 'object' && !Array.isArray(spacing)) {\n    const classNames = [];\n    Object.entries(spacing).forEach(([key, value]) => {\n      if (isValidSpacing(value)) {\n        classNames.push(`spacing-${key}-${String(value)}`);\n      }\n    });\n    return classNames;\n  }\n\n  return [];\n};\nexport const generateDirectionClasses = direction => {\n  if (direction === undefined) {\n    return [];\n  }\n\n  if (typeof direction === 'object') {\n    return Object.entries(direction).map(([key, value]) => `direction-${key}-${value}`);\n  }\n\n  return [`direction-xs-${String(direction)}`];\n};"],"mappings":";AAAA,OAAOA,QAAQ,MAAM,oCAAoC;AACzD,OAAO,IAAMC,mBAAmB,GAAG,SAAtBA,mBAAmB,CAAIC,WAAW,EAAEC,UAAU,EAAEC,QAAQ,EAAK;EACxE,IAAMC,kBAAkB,GAAGH,WAAW,CAACI,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC;;EAEhD,IAAIC,KAAK,CAACC,OAAO,CAACL,UAAU,CAAC,EAAE;IAC7BA,UAAU,CAACM,OAAO,CAAC,UAACC,eAAe,EAAEC,KAAK,EAAK;MAC7CP,QAAQ,CAAC,UAACQ,gBAAgB,EAAEC,KAAK,EAAK;QACpC,IAAIF,KAAK,IAAIT,WAAW,CAACI,IAAI,CA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